import { getSongList } from '../api/index'

export const ListAction = () => dispatch => {
    getSongList().then(res => {
        //  console.log(res.data.result)
        dispatch({
            type: "GET_LIST",
            payload: [res.data.categories,res.data.sub]
        })

    })
}
